﻿using LxBasic;
using System;

namespace LxLESS
{
    public class AMGGlobal
    {
        public static int SolvingLevel = -1;
        public static bool[] IsNeededUpdateA { get; private set; } = new bool[50];
        public static int MaxLevel
        {
            get => IsNeededUpdateA.Length;
            set
            {
                if (value < 0) return;
                if (value != IsNeededUpdateA.Length)
                {
                    IsNeededUpdateA = new bool[value];
                }
            }
        }
    }
}
